package com.itheima.test02;
//创建一个鸟类,继承动物类;
public class Bird extends Animal {
    public Bird() {
    }

    public Bird(String name, int age) {
        super(name, age);
    }


    @Override
    public void method(){
        System.out.println("鸟会飞......");
    }
}
